package clientrequest;

import java.util.Vector;

/**
 * RequestBuddyRemove
 * @brief Sends a request to the server to remove a player from user's buddy 
 * list.
 * @author
 */
public class RequestBuddyRemove extends RequestToServer {

    @Override
    public void send(short requestCode, Vector args) {
    	String buddyName = (String) args.get(0);
        short sizeofrequest =(short)(4+4*(buddyName.length()));
        super.writeShort(sizeofrequest);
        super.writeShort(requestCode);
        super.writeString(buddyName);
    }

}
